package designPattern.struction.adapterpattern.objadapter;


import designPattern.struction.adapterpattern.Adaptee;
import designPattern.struction.adapterpattern.ConcreteTarget;
import designPattern.struction.adapterpattern.Target;

/**
 * @author 张琪
 * @date 2023/1/30 18:28
 */
public class Client {
    public static void main(String[] args) {
        Target concreteTarget = new ConcreteTarget();
        concreteTarget.request();


        Target adapter = new Adapter(new Adaptee());
        adapter.request();
    }
}
